#include<iostream>
#include<string>
using namespace std;

class Person
{
public:
	void Print()
	{
		cout << "name:" << _name << endl;
		cout << "age:" << _age << endl;
	}
protected:
	string _name = "Sam";
	int _age = 18;
};

class Student :public Person
{
public:
	void Print()
	{

	}
	int _age = 1;
private:
	int _id;
	
};

int main()
{
	Student sd;
	sd.Person::Print();
	cout<<sd._age;
	return 0;
}